package com.anrongtec.zcpt.constant;

import android.util.Log;

import com.anrongtec.zcpt.utils.LogUtil;

/**
 * 作者：liuhui on 2017/2/12 22:49
 * 邮箱：liu594545591@126.com
 * 描述：ShuJuURL
 */

public class ShuJuURL {

    // http://211.149.241.114:8080/store/
    private static final String TAG = "url";
    // private static final String STORE = "/store/";
    private static final String STORE = "/support-store/";

    public static String JieKou_URL() {
        String string = "http://" + getIP() + ":" + getPOST() + STORE;
        LogUtil.trace(Log.DEBUG, TAG, string);
        return string;
    }

    public static String getIP() {
        // return "211.149.241.114";
        // return "192.168.1.10";
        // return "192.168.0.113";
        // return "192.168.3.124";
        // return "192.168.3.223";
//		return "192.168.0.104";
        // return "211.149.172.51";
        // return "192.168.1.20";
//		 return "20.124.143.20";//二类网
        return "211.149.198.196";

    }

    public static int getPOST() {
//		 return 8080;
        return 8780;
    }

    public int getPUSH_POST() {
        return 5222;
    }

    /** 拼接下载url */
    public static String DownloadURL() {
        return JieKou_URL() + "download?fileId=";
    }

    /**
     * 登录接口数据
     *
     * @ClassName: Login
     * @Description: TODO(这里用一句话描述这个类的作用)
     * @author dongtianhao
     * @date 2016年7月12日 上午9:48:35
     *
     *//*
		 * public static interface Login { public static final String CODE =
		 * URLConstants.LOGIN_NEW; public static final String LOGIN_TYPE =
		 * "login_type"; public static final String USER_NAME = "staffCode";
		 * public static final String USER_SFZH = "sfzh"; public static final
		 * String USER_PWD = "staffPassWd"; public static final String URL =
		 * JieKou_URL() + "/InfoCheck/oc/jzAction_login.action"; }
		 */

}
